import Router from 'koa-router'

import adminRoutes from './admin.js'
import menuRoutes from './menu.js'

const router = new Router({
    prefix: '/endapi'
})

router.use(adminRoutes.routes())
router.use(menuRoutes.routes())

export default router